neighbor default-originate

This command announces default routes to the peer. The BGPD’s default is to not announce the default route (0.0.0.0/0) even it is in the routing table.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X}  default-originate [route map <route map name>]
neighbor peer {<neighbor tag>|a.b.c.d|X:X::X:X} default-originate

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor

Defines the neighbor tag.

route map name

Defines the route map name.

Default

NA

Command Mode

Privileged User

Example

This example announces default routes to the peer.

(config-data)# router bgp 1
(conf-router)# neighbor 10.14.3.118 default-originate